<?php
class Model
{
	static public $db = null;
	
	function __construct()	{}
	
	static function factory()
	{
		self::$db = new Database(config_item('database'));
	}
	
	
	static function escape($string)
	{
		return mysql_real_escape_string($string);
	}
	
	
	
	
	
	function __destruct(){}
}
?>